<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <title>管理地址</title>
    <script type="text/javascript" src="../../assets/js/common/iss_app_utility.js?time=20171213174312"></script>
    <script type="text/javascript" src="../../assets/js/iss_app_configure.js?time=20171213174312"></script>

</head>

<body>

    <div class="views">
        <div class="view view-main">
            <div class="pages navbar-fixed">
                <div data-page="addrManager" class="page bg-white addrManager" id="addrManager">
                    <!-- navbar 开始 -->
                    <div class="navbar theme-white">
                        <div class="navbar-inner">
                            <div class="left">
                                <a href="#" class="back link"><i class="icon icon-back"></i><span>返回</span></a>
                            </div>
                            <div class="center">管理地址</div>
                            <div class="right"></div>
                        </div>
                    </div>
                    <!-- navbar 结束 -->
                    <div class="page-content addrlist" style="background-color:#f3f3f3">
                        <ul>

                        </ul>
                    </div>
                    <script id="template-addr-list" type="text/template7">
                        {{#each results}}
                        <li style="margin-bottom:20px;" data-AddressID="{{AddressID}}" data-ProvinceCode="{{ProvinceCode}}" data-CityCode="{{CityCode}}"
                            data-DistrictCode="{{DistrictCode}}" data-Address="{{Address}}" data-Phone="{{Phone}}" data-ZipCode="{{ZipCode}}" data-PersonName="{{PersonName}}"
                            data-isDefault="{{isDefault}}">
                            <div class="card">
                                <div class="card-header">
                                    <span class="name">{{PersonName}}</span>
                                    <span class="phonenumber">{{Phone}}</span>
                                </div>
                                <div class="card-content">
                                    <div class="card-content-inner">{{ProvinceName}} {{CityName}} {{DistrictName}} {{Address}}</div>
                                    <div class="divide"></div>
                                </div>
                                <div class="card-footer">
                                    <div class="btn default">
                                        {{#js_compare "this.isDefault == 1"}}
                                        <img src="../../assets/images/images-yuqing/address/checked.png" />
                                        <span style="color:#ef5848">默认地址</span> {{else}}
                                        <img src="../../assets/images/images-yuqing/address/unchecked.png" />
                                        <span>设为默认</span> {{/js_compare}}
                                    </div>
                                    <div class="modify">
                                        <div class="btn edit">
                                            <img src="../../assets/images/images-yuqing/address/edit.png" />
                                            <span>编辑</span>
                                        </div>
                                        <div class="btn del">
                                            <img src="../../assets/images/images-yuqing/address/delete.png" />
                                            <span>删除</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </li>
                        {{/each}}
                    </script>
                    <a class="toolbar" style="background-color:#296fb1;line-height:44px;text-align:center;color:white" data-href="../../view-yuqing/user/addNewAddr.html"
                        data-action="fw7">
                        <span>添加新地址</span>
                    </a>
                </div>
            </div>
        </div>
    </div>
    <!-- end view-main-->
</body>

</html>